.class Lcom/waiqin365/lightapp/visit/fy;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5

    const/16 v4, 0x8

    const/4 v3, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/visit/a/a/ak;

    if-eqz v0, :cond_4

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/a/ak;->b()Z

    move-result v1

    if-eqz v1, :cond_4

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/ak;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, v0, Lcom/waiqin365/lightapp/visit/a/a/ak;->f:Ljava/util/ArrayList;

    if-eqz v1, :cond_1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v2

    iget v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ak;->d:I

    if-ge v2, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    :goto_1
    if-eqz v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/visit/b/bg;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bg;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/visit/b/bg;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/bg;->notifyDataSetChanged()V

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->d()V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->b(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->g()V

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    goto :goto_2

    :cond_3
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ak;->a:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    goto :goto_2

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    if-eqz v0, :cond_5

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ak;->a:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fy;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    goto :goto_2

    :pswitch_data_0
    .packed-switch 0x321
        :pswitch_0
    .end packed-switch
.end method
